package com.gz.spring.processor;

//该接口有两个方法
//这两个方法会对Spring所有Bean生效
public interface BeanPostProcessor {
    //Bean的初始化方法前调用
    default Object postProcessBeforeInitialization(Object bean, String beanName){
        return bean;
    }

    //Bean的初始化方法后调用
    default Object postProcessAfterInitialization(Object bean, String beanName) {
        return bean;
    }
}
